<template>
	<view class="head">
		<view class="img" @click="back">
			<image src="https://splendid.oss-cn-beijing.aliyuncs.com/static/zhengyulan/back-arrow.png" mode=""></image>
		</view>
		<view class="message">
			<text>任务派发</text>
		</view>
	</view>

	<!-- 是的 -->
	<view class="body">
		<view class="container">
			<view class="content">
				<view class="Left">
					<view class="imgs">
						<image src="/static/woderenwu.png" mode=""></image>
					</view>
					<view class="MYprojie" @click="Mytask">
						我的任务
					</view>
					<view class="gongtioa">
						共2条任务记录
					</view>
				</view>
				<view class="right" @click="TaskassignmentDeatily">
					<view class="imgs">
						<image src="/static/wodepaifa.png" mode=""></image>
					</view>
					<view class="MYprojie">
						我派发的
					</view>
					<view class="gongtioa">
						共20条任务记录
					</view>
				</view>
				
			</view>
			
			
			<view class="circlejunxing">
				<view class="bi">
					<image src="/static/bi.png" mode=""></image>
				</view>
				<view class="text">
					在这里创建派发 新的任务把！
				</view>
				<view class="button" @click="paifa">
					任务派发
				</view>
			</view>
		</view>
	</view>

</template>

<script setup>
function Mytask(){
	uni.navigateTo({
		url:"/homePageOther/MyTask/MyTask"
	})
}
function back (){
	uni.navigateBack({
		delta:1
	})
}
function TaskassignmentDeatily () {
	uni.navigateTo({
		url:"/homePageOther/TaskassignmentDeatily/TaskassignmentDeatily"
	})
}
function paifa () {
	console.log(8888);
uni.navigateTo({
	url:"/homePageOther/TaskassignmentDeatily/TaskassignmentDeatily"
})
}
</script>

<style lang="scss" scoped>
	.head {
		width: 750rpx;
		height: 142rpx;
		background: #0874FA;
		position: relative;
		overflow: hidden;
	}

	.img {
		width: 22rpx;
		height: 38rpx;
		position: absolute;
		top: 75rpx;
		left: 40rpx;

		image {
			width: 22rpx;
			height: 38rpx;
		}
	}

	.message {
		width: 220rpx;
		height: 34rpx;
		font-family: Source Han Sans CN;
		font-weight: 500;
		font-size: 36rpx;
		color: #FFFFFF;
		line-height: 34rpx;
		position: absolute;
		top: 75rpx;
		left: 270rpx;

		text {
			display: inline-block;
			width: 220rpx;
			height: 34rpx;
			text-align: center;
			line-height: 34rpx;
		}
	}

	.body {
		width: 100%;

	}

	.container {
		width: 750rpx;
		height: 1188rpx;
		background-color: #f3f5f7;
         overflow: hidden;
		.content {
			width: 678rpx;
			height: 155rpx;
			margin: 46rpx auto;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.Left {
				width: 333rpx;
				height: 155rpx;
				background: #FFFFFF;
				border-radius: 21rpx;
				position: relative;

				.imgs {
					width: 79rpx;
					height: 68rpx;
					border: 1px dashed #aeaeae;
					position: absolute;
					top: 41rpx;
					left: 23rpx;

					image {
						width: 79rpx;
						height: 68rpx;
					}
				}

				.MYprojie {
					width: 120rpx;
					height: 28rpx;
					font-family: Source Han Sans CN;
					font-weight: 700;
					font-size: 30rpx;
					color: #000000;
					line-height: 33rpx;
					position: absolute;
					top: 39rpx;
					left: 127rpx;
				}

				.gongtioa {
					width: 149rpx;
					height: 20rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					font-size: 22rpx;
					color: #999999;
					line-height: 33rpx;
					position: absolute;
					top: 82rpx;
					left: 127rpx;
				}
			}

			.right {
				width: 333rpx;
				height: 155rpx;
				background: #FFFFFF;
				border-radius: 21rpx;
				width: 333rpx;
				height: 155rpx;
				background: #FFFFFF;
				border-radius: 21rpx;
				position: relative;

				.imgs {
					width: 79rpx;
					height: 68rpx;
					border: 1px dashed #aeaeae;
					position: absolute;
					top: 41rpx;
					left: 23rpx;

					image {
						width: 79rpx;
						height: 68rpx;
					}
				}

				.MYprojie {
					width: 120rpx;
					height: 28rpx;
					font-family: Source Han Sans CN;
					font-weight: 700;
					font-size: 30rpx;
					color: #000000;
					line-height: 33rpx;
					position: absolute;
					top: 39rpx;
					left: 127rpx;
				}

				.gongtioa {
					width: 159rpx;
					height: 20rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					font-size: 22rpx;
					color: #999999;
					line-height: 33rpx;
					position: absolute;
					top: 82rpx;
					left: 127rpx;
				}
			}
		}
	}
	
	.circlejunxing{
		width: 678rpx;
		height: 351rpx;
		background: #FFFFFF;
		border-radius: 21rpx;
		margin: 0 auto;
		position: relative;
		.bi{
			width: 206rpx;
			height: 206rpx;
			border: 1px dashed #aeaeae;
			position: absolute;
			top: 72rpx;
			left: 65rpx;
			image{
				width: 206rpx;
				height: 206rpx;
				
			}
		}
		.text{
			width: 246rpx;
			height: 76rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			font-size: 34rpx;
			color: #333333;
			line-height: 44rpx;
			position: absolute;
			top: 84rpx;
			right: 106rpx;
		}
		.button{
			width: 262rpx;
			height: 77rpx;
			background: #0874FA;
			border-radius: 39rpx;
			text-align: center;
			line-height: 77rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			font-size: 34rpx;
			color: #FFFFFF;
			position: absolute;
			bottom: 76rpx;
			right: 93rpx;
		}
	}
</style>